package com.hrm.dao;

import java.util.List;
import java.util.Map;
import com.hrm.entity.RoleAction;

public interface RoleActionMapper {

	public int deleteRoleActionById(long id);

	public RoleAction selectRoleActionById(long id);

	public List<RoleAction> selectRoleActionByMap(Map<String,Object> map);

	public List<RoleAction> selectRoleAction(RoleAction roleAction);

	public List<RoleAction> selectAllRoleAction();

	public int insertRoleAction(RoleAction roleAction);

	public int updateRoleAction(RoleAction roleAction);

	public int deleteRoleAction(RoleAction roleAction);

	public int updateRoleActionByMap(Map<String,Object> map);

	public int deleteRoleActionByMap(Map<String,Object> map);
	public int getAllRoleActionCounts();
	public int getRoleActionCounts(RoleAction roleAction);
	public int getRoleActionCountsByMap(Map<String,Object> map);
}
